set /p checkoutRemoteBranch=Please enter the 'Remote Label Name' to be checked out:

echo Remote label name entered=%checkoutRemoteBranch%

set work_path=%~dp0
cd /d %work_path%
cd ../
set work_path=%cd%


echo ====Unsubmitted requests need to be processed before detection!!! Otherwise, it cannot be detected!!!====

pause




for /d %%s in (%work_path%\*) do (
cd %%s
echo Check out labels %% %%s %% %checkoutRemoteBranch%
git checkout %checkoutRemoteBranch%

)


echo ok...
pause

